cmake_minimum_required (VERSION 3.10)

project(project3)

# 设置bin目录下存最后的可执行文件
set (EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)

# 将.cpp源码文件的目录保存到SRC_LIST变量中
aux_source_directory(src SRC_LIST)

# 指定头文件路径
include_directories(include)

add_executable(main ${SRC_LIST})
